﻿<!--***********************************************************************************

   Extended WPF Toolkit

   Copyright (C) 2007-2013 Xceed Software Inc.

   This program is provided to you under the terms of the Microsoft Public
   License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license 

   For more features, controls, and fast professional support,
   pick up the Plus Edition at http://xceed.com/wpf_toolkit

   Stay informed: follow @datagrid on Twitter or Like http://facebook.com/datagrids

  **********************************************************************************-->

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

   <!-- =================================================================== -->
   <!-- Glyphs                                                              -->
   <!-- =================================================================== -->

   <!-- Glyph that is displayed in a ColumnManagerCell or GroupByItem when an ascending sort is applied to a column. -->
   <DataTemplate x:Key="ascendingSortGlyph">
      <Border Width="9"
              Height="5">
         <Path Opacity="1"
               Data="M 4.53125,0.15625 C4.53125,0.15625 9,5 9,5 9,5 0,5 0,5 0,5 4.53125,0.15625 4.53125,0.15625 z"
               Fill="{Binding RelativeSource={RelativeSource Self},Path=(TextElement.Foreground)}"/>
      </Border>
   </DataTemplate>

   <!-- Glyph that is displayed in a ColumnManagerCell or GroupByItem when a descending sort is applied to a column. -->
   <DataTemplate x:Key="descendingSortGlyph">
      <Border Width="9"
              Height="5">
         <Path Opacity="1"
               Data="M 4.53125,5 C4.53125,5 9,0.15625 9,0.15625 9,0.15625 0,0.15625 0,0.15625 0,0.15625 4.53125,5 4.53125,5 z"
               Fill="{Binding RelativeSource={RelativeSource Self},Path=(TextElement.Foreground)}"/>
      </Border>
   </DataTemplate>

   <!-- Glyph that is displayed in the group headers to expand the group. -->
   <DataTemplate x:Key="expandGroupGlyph">
      <Canvas Width="9"
              Height="9">
         <Path Canvas.Left="0"
               Canvas.Top="0"
               Height="9"
               Width="9"
               Stretch="Fill"
               Opacity="1"
               Data="M -0.16668701171875,0.5 C-0.16668701171875,0.5 8.83331298828125,0.5 8.83331298828125,0.5 8.83331298828125,0.5 8.83331298828125,9.5 8.83331298828125,9.5 8.83331298828125,9.5 -0.16668701171875,9.5 -0.16668701171875,9.5 -0.16668701171875,9.5 -0.16668701171875,0.5 -0.16668701171875,0.5 z"
               Stroke="#8e997d"
               StrokeThickness="1">
            <Path.Fill>
               <LinearGradientBrush
                  StartPoint="0.90740966796875,0.8333333333333334"
                  EndPoint="0.0925937228732639,0.05555555555555555">
                  <LinearGradientBrush.GradientStops>
                     <GradientStopCollection>
                        <GradientStop Color="#FFc3baaa"
                                      Offset="0" />
                        <GradientStop Color="#FFfcfcfb"
                                      Offset="0.9888888597488403" />
                     </GradientStopCollection>
                  </LinearGradientBrush.GradientStops>
               </LinearGradientBrush>
            </Path.Fill>
         </Path>
         <Path Canvas.Left="2"
               Canvas.Top="4"
               Height="1"
               Width="5"
               Stretch="Fill"
               Opacity="1"
               Data="M 6.5,4.5 C6.5,4.5 2.5,4.5 2.5,4.5 "
               Stroke="#000000"
               StrokeThickness="1" />
         <Path Canvas.Left="4"
               Canvas.Top="2"
               Height="5"
               Width="1"
               Stretch="Fill"
               Opacity="1"
               Data="M 4,6 C4,6 4,2 4,2 "
               Stroke="#000000"
               StrokeThickness="1" />
      </Canvas>
   </DataTemplate>

   <!-- Glyph that is displayed in the group headers to collapse the group. -->
   <DataTemplate x:Key="collapseGroupGlyph">
      <Canvas Width="9"
              Height="9">
         <Path Canvas.Left="0"
               Canvas.Top="0"
               Height="9"
               Width="9"
               Stretch="Fill"
               Opacity="1"
               Data="M -0.16668701171875,0.5 C-0.16668701171875,0.5 8.83331298828125,0.5 8.83331298828125,0.5 8.83331298828125,0.5 8.83331298828125,9.5 8.83331298828125,9.5 8.83331298828125,9.5 -0.16668701171875,9.5 -0.16668701171875,9.5 -0.16668701171875,9.5 -0.16668701171875,0.5 -0.16668701171875,0.5 z"
               Stroke="#8e997d"
               StrokeThickness="1">
            <Path.Fill>
               <LinearGradientBrush StartPoint="0.90740966796875,0.8333333333333334"
                                    EndPoint="0.0925937228732639,0.05555555555555555">
                  <LinearGradientBrush.GradientStops>
                     <GradientStopCollection>
                        <GradientStop Color="#FFc3baaa"
                                      Offset="0" />
                        <GradientStop Color="#FFfcfcfb"
                                      Offset="0.9888888597488403" />
                     </GradientStopCollection>
                  </LinearGradientBrush.GradientStops>
               </LinearGradientBrush>
            </Path.Fill>
         </Path>
         <Path Canvas.Left="2"
               Canvas.Top="4"
               Height="1"
               Width="5"
               Stretch="Fill"
               Opacity="1"
               Data="M 6.5,4.5 C6.5,4.5 2.5,4.5 2.5,4.5 "
               Stroke="#000000"
               StrokeThickness="1" />
      </Canvas>
   </DataTemplate>

   <!-- Glyph that is displayed in the RowSelector for a Row that is current. -->
   <DataTemplate x:Key="currentItemGlyph">
      <Path Margin="0,2,0,0" 
            Opacity="1"
            Data="M 5,4.46875 C5,4.46875 0,0 0,0 0,0 0,9 0,9 0,9 5,4.46875 5,4.46875 z"
            Fill="{Binding RelativeSource={RelativeSource Self},Path=(TextElement.Foreground)}"/>
   </DataTemplate>

   <!-- Glyph that is displayed in the RowSelector for a Row that is being edited. -->
   <DataTemplate x:Key="editingRowGlyph">
         <Grid x:Name="crayon"
               Width="13.505371"
               Height="14.666504"
               ClipToBounds="True">

            <Path StrokeThickness="1"
                  Stroke="#FF000000"
                  StrokeMiterLimit="1.000000"
                  Fill="#FF000000"
                  Data="F1 M 12.135254,4.105469 C 12.135254,4.105469 12.223145,4.213867 11.980957,4.479492 C 11.737793,4.745117 11.596191,4.601563 11.596191,4.601563 C 11.596191,4.601563 11.737793,4.810547 11.451660,5.027832 C 11.125488,5.274902 11.052246,5.104004 11.052246,5.104004 L 4.039551,12.810059 L 0.383301,14.247559 L 1.508301,10.403809 L 8.457520,2.768555 C 8.457520,2.768555 8.359863,2.593262 8.545410,2.390137 C 8.730957,2.187012 8.994629,2.227539 8.994629,2.227539 C 8.994629,2.227539 8.830566,2.077637 9.065918,1.819824 C 9.301270,1.561523 9.486816,1.688477 9.486816,1.688477 L 10.667480,0.318848 C 10.845215,0.124512 11.529785,0.332031 12.334473,1.066406 C 13.139160,1.800781 13.376465,2.435059 13.199707,2.628906 L 12.110840,3.942871 L 12.135254,4.105469 Z"
                  x:Name="contourCrayon"/>



            <Path Data="F1 M 10.698730,0.381348 C 10.876465,0.187012 11.561035,0.394531 12.365723,1.128906 C 13.170410,1.863281 13.407715,2.497559 13.230957,2.691406 L 11.875488,4.176270 C 11.698730,4.370117 11.387207,4.375000 11.182129,4.186523 L 9.396973,2.558105 C 9.189941,2.370117 9.166504,2.060059 9.344238,1.866211 L 10.698730,0.381348 Z"
                  x:Name="boutEfface">
               <Path.Fill>
                  <LinearGradientBrush MappingMode="Absolute"
                                       StartPoint="308.197266,411.454590"
                                       EndPoint="311.275574,409.867828">
                     <LinearGradientBrush.Transform>
                        <MatrixTransform Matrix="0.965100,0.261800,0.261800,-0.965100,-395.200104,317.410736" />
                     </LinearGradientBrush.Transform>
                     <GradientStop Offset="0.000000"
                                   Color="#FFFEFEFE"/>
                     <GradientStop Offset="0.504348"
                                   Color="#FFD3D3D3"/>
                     <GradientStop Offset="1.000000"
                                   Color="#FF717171"/>
                  </LinearGradientBrush>
               </Path.Fill>
            </Path>

            <Path Fill="#FFFFFFFF"
                  Data="F1 M 3.095703,11.226074 C 4.587402,12.587402 3.999023,12.801270 3.999023,12.801270 L 0.330566,14.286621 L 1.487305,10.477051 C 1.487305,10.477051 1.604004,9.864746 3.095703,11.226074 Z"
                  x:Name="pointeBeige"/>

            <Path Fill="#FF343434"
                  Data="F1 M 10.754395,3.897949 L 11.291504,4.816895 L 4.040039,12.763184 L 3.503418,11.844238 L 10.754395,3.897949 Z"
                  x:Name="couleur3"/>

            <Path Fill="#FF696969"
                  Data="F1 M 9.699707,2.935059 L 10.777832,3.918945 L 3.527344,11.865723 L 2.449219,10.882324 L 9.699707,2.935059 Z"
                  x:Name="couleur2"/>

            <Path Fill="#FFABABAB"
                  Data="F1 M 8.736816,2.485352 L 9.699707,2.935059 L 2.449219,10.882324 L 1.484863,10.432129 L 8.736816,2.485352 Z"
                  x:Name="couleur1"/>

            <Path Data="F1 M 8.607910,2.296387 C 8.793457,2.093262 9.057129,2.133789 9.057129,2.133789 C 9.057129,2.133789 8.893066,1.983887 9.128418,1.726074 C 9.363770,1.467773 9.549316,1.594727 9.549316,1.594727 C 9.549316,1.594727 10.244629,1.885254 10.985840,2.562500 C 11.727051,3.238770 12.197754,4.011719 12.197754,4.011719 C 12.197754,4.011719 12.285645,4.120117 12.043457,4.385742 C 11.800293,4.651367 11.658691,4.507813 11.658691,4.507813 C 11.658691,4.507813 11.800293,4.716797 11.514160,4.934082 C 11.187988,5.181152 11.114746,5.010254 11.114746,5.010254 C 11.114746,5.010254 10.846191,4.324707 10.044434,3.593750 C 9.242676,2.861816 8.520020,2.674805 8.520020,2.674805 C 8.520020,2.674805 8.422363,2.499512 8.607910,2.296387 Z"
                  x:Name="boutMetalEfface">
               <Path.Fill>
                  <LinearGradientBrush MappingMode="Absolute"
                                       StartPoint="306.663086,410.784668"
                                       EndPoint="310.914825,408.500153">
                     <LinearGradientBrush.Transform>
                        <MatrixTransform Matrix="0.965100,0.261800,0.261800,-0.965100,-395.200104,317.410736" />
                     </LinearGradientBrush.Transform>
                     <GradientStop Offset="0.000000"
                                   Color="#ffb1b1b1"/>
                     <GradientStop Offset="0.504348"
                                   Color="#ff787878"/>
                     <GradientStop Offset="1.000000"
                                   Color="#ff3e3e3e"/>
                  </LinearGradientBrush>
               </Path.Fill>
            </Path>

            <Path Fill="#ff000000"
                  Data="F1 M 2.227051,13.505371 L 0.734863,12.976074 L 0.330566,14.286621 L 1.582031,13.785645 L 2.227051,13.505371 Z"
                  x:Name="boutMine"/>


         </Grid>
   </DataTemplate>

   <!-- Glyph that is displayed in the RowSelector for a Row that has a validation error. -->
   <DataTemplate x:Key="validationErrorGlyph">
      <Grid
         Height="14"
         Width="14">
         <Path
            Margin="0,0,0,0"
            HorizontalAlignment="Left"
            VerticalAlignment="Top"
            Height="14"
            Width="14"
            Stretch="Fill"
            Opacity="1"
            Data="M 0,7 C0,3.13397216796875 3.1339569091796875,0 7,0 10.866043090820312,0 14,3.13397216796875 14,7 14,10.866058349609375 10.866043090820312,14 7,14 3.1339569091796875,14 0,10.866058349609375 0,7 z"
            Stroke="#990000"
            StrokeThickness="1">
            <Path.Fill>
               <LinearGradientBrush
                  StartPoint="0.14285714285714285,0.14285714285714285"
                  EndPoint="0.8392857142857143,0.8839285714285714">
                  <LinearGradientBrush.GradientStops>
                     <GradientStopCollection>
                        <GradientStop
                           Color="#FF990000"
                           Offset="0" />
                        <GradientStop
                           Color="#FFff0000"
                           Offset="0.9944440126419067" />
                     </GradientStopCollection>
                  </LinearGradientBrush.GradientStops>
               </LinearGradientBrush>
            </Path.Fill>
         </Path>
         <Path
            Margin="-0.3838682472705841,-0.38386160135269165,0,0"
            HorizontalAlignment="Left"
            VerticalAlignment="Top"
            Height="12.929575026035309"
            Width="13.883868247270584"
            Stretch="Fill"
            Opacity="1"
            Data="M 0.5,10.5 C-1.433029055595398,6.91009521484375 -0.08990500122308731,2.433013916015625 3.5,0.5 7.08990478515625,-1.4330140352249146 11.566986083984375,-0.0899050235748291 13.5,3.5 9.75,4 6.25,5.625 6.25,5.625 6.25,5.625 2.25,9.375 3.75,12.375 4.022385120391846,12.919769287109375 2.25,12.125 0.5,10.5 z">
            <Path.Fill>
               <RadialGradientBrush
                  Center="0.4598047268653376,0.4163989605622471"
                  GradientOrigin="0.4598047268653376,0.4163989605622471"
                  RadiusX="0.9047176497478938"
                  RadiusY="0.3101879325380103">
                  <RadialGradientBrush.GradientStops>
                     <GradientStopCollection>
                        <GradientStop
                           Color="#3affffff"
                           Offset="0" />
                        <GradientStop
                           Color="#7fffffff"
                           Offset="0.9888889789581299" />
                     </GradientStopCollection>
                  </RadialGradientBrush.GradientStops>
               </RadialGradientBrush>
            </Path.Fill>
         </Path>
         <Path
            Margin="1,1,0,0"
            HorizontalAlignment="Left"
            VerticalAlignment="Top"
            Height="12"
            Width="12"
            Stretch="Fill"
            Opacity="0.5019607843137255"
            Data="M 1,7 C1,3.686248779296875 3.686249017715454,1 7,1 10.313751220703125,1 13,3.686248779296875 13,7 13,10.313751220703125 10.313751220703125,13 7,13 3.686249017715454,13 1,10.313751220703125 1,7 z"
            Stroke="#ffffff"
            StrokeThickness="1" />
         <Path
            Margin="5,1.125,0,0"
            HorizontalAlignment="Left"
            VerticalAlignment="Top"
            Height="7.875"
            Width="3.8125"
            Stretch="Fill"
            Opacity="1"
            Data="M 5,1.125 C5,1.125 8.8125,1.1875 8.8125,1.1875 8.8125,1.1875 8,9 8,9 8,9 6,9 6,9 6,9 5,1.125 5,1.125 z"
            Fill="#ffffff" />
         <Path
            Margin="5.5,10,0,0"
            HorizontalAlignment="Left"
            VerticalAlignment="Top"
            Height="3"
            Width="3"
            Stretch="Fill"
            Opacity="1"
            Data="M 5.5,11.5 C5.5,10.671562194824219 6.171562194824219,10 7,10 7.828437805175781,10 8.5,10.671562194824219 8.5,11.5 8.5,12.328437805175781 7.828437805175781,13 7,13 6.171562194824219,13 5.5,12.328437805175781 5.5,11.5 z"
            Stroke="#ffffff"
            StrokeThickness="1"
            Fill="#ffffff" />
      </Grid>
   </DataTemplate>

</ResourceDictionary>
